package com.ruoyi.supplier.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 包装对象 tb_product_pack
 * 
 * @author ruoyi
 * @date 2021-06-18
 */
public class TbProductPack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Integer autoId;
    /** ID */
    private Long packId;

    /** 包装等级 1级、2级 */
    @Excel(name = "包装等级 1级、2级")
    private Long packGrade;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品ID */
    private Long productId;

    /** 包装计量单位 */
    @Excel(name = "包装计量单位")
    private Long measurement;

    /** 包装名称 */
    @Excel(name = "包装名称")
    private String packName;

    /** 包装系数 */
    @Excel(name = "包装系数")
    private Integer packModulus;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 零售价格 */
    @Excel(name = "零售价格")
    private BigDecimal marketPrice;

    /** 商品表ID*/
    private Long priceId;

    /** 商品编号*/
    private String productSn;

    /** 商品分类*/
    private String typeName;

    /** 规格*/
    private String itemName;

    /** 产地*/
    private String origin;

    /** 品牌名称*/
    private String brandDesc;

    /** 包装库存数量*/
    private Integer packCount;

    /** 包装库存数量*/
    private Integer storeCount;

    /**
     * 说明此对象为包装对象,是否包装类型
     * 1、是  0、否
     */
    private String isPack="Y";


    public void setPackId(Long packId)
    {
        this.packId = packId;
    }

    public Long getPackId()
    {
        return packId;
    }
    public void setPackGrade(Long packGrade) 
    {
        this.packGrade = packGrade;
    }

    public Long getPackGrade() 
    {
        return packGrade;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setMeasurement(Long measurement) 
    {
        this.measurement = measurement;
    }

    public Long getMeasurement() 
    {
        return measurement;
    }
    public void setPackName(String packName) 
    {
        this.packName = packName;
    }

    public String getPackName() 
    {
        return packName;
    }
    public void setPackModulus(Integer packModulus)
    {
        this.packModulus = packModulus;
    }

    public Integer getPackModulus()
    {
        return packModulus;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setMarketPrice(BigDecimal marketPrice) 
    {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getMarketPrice() 
    {
        return marketPrice;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    public Integer getAutoId() {
        return autoId;
    }

    public void setAutoId(Integer autoId) {
        this.autoId = autoId;
    }

    public String getProductSn() {
        return productSn;
    }

    public void setProductSn(String productSn) {
        this.productSn = productSn;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getBrandDesc() {
        return brandDesc;
    }

    public void setBrandDesc(String brandDesc) {
        this.brandDesc = brandDesc;
    }

    public String getIsPack() {
        return isPack;
    }

    public void setIsPack(String isPack) {
        this.isPack = isPack;
    }

    public Integer getPackCount() {
        return packCount;
    }

    public void setPackCount(Integer packCount) {
        this.packCount = packCount;
    }

    public Integer getStoreCount() {
        return storeCount;
    }

    public void setStoreCount(Integer storeCount) {
        this.storeCount = storeCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packId", getPackId())
            .append("packGrade", getPackGrade())
            .append("productName", getProductName())
            .append("productId", getProductId())
            .append("measurement", getMeasurement())
            .append("packName", getPackName())
            .append("packModulus", getPackModulus())
            .append("price", getPrice())
            .append("marketPrice", getMarketPrice())
            .toString();
    }
}
